package cn.org.gldd.agent.service;

import org.springframework.web.multipart.MultipartFile;
import reactor.core.publisher.Flux;

public interface KnowledgeService {

    /**
     * 处理文档分割
     *
     * @param file 上传的文件
     * @return 是否成功
     */
    Boolean handleSplitDocument(MultipartFile file);

    Flux<String> vectorSearch(String message);
}
